<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML>
<html>
<head>

<title>凯盛项目管理系统</title>
<link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="script/bootstrap-dropdown.js"></script>
<script type="text/javascript" src="script/bootstrap-modal.js"></script>
<style type="text/css">
body {
	padding-top:70px;
	    	padding-left:70px;
	    	background-image:url(img/ab.png);
}

.info {
	border: 1px solid #ddd;
	border-top: none;
	padding: 20px;
}
</style>
</head>

<body class="body">
	
			<%@ include file="top.jsp" %>
	<%@ include file="leftlabel.jsp" %>
			<div class="span9">
				<div class="breadcrumb" style="margin:0px;">联系人</div>
				<div class="info">
					<h3>${linkman.name }</h3>
					<address>
						<p>公司</p>
						${linkman.company } <small>手机</small>${linkman.mobile }<br> <small>固话</small>${linkman.phone
						} <br> <br> <small>邮箱</small>${linkman.email } <br>
						<small>地址</small>${linkman.address }<br> <br> <small>主页</small>${linkman.homepage
						} <br> <small>微博</small>${linkman.twtter }<br> <br>
					</address>

					<div class="page-header">记录</div>
					<div style="margin-bottom:20px;">
						<form action="addlinkrecord.action" method="post">
							<input type="hidden" name="linkman.id" value="${linkman.id }" />
							<textarea rows="5" name="linkrecord.content" class="span5"></textarea>
							<br>
							<button class="btn btn-primary">发布</button>
						</form>
					</div>
					<c:forEach items="${linkrecords }" var="linkrecord">
						<blockquote>
							${linkrecord.content }<small>${linkrecord.user.username
								}发布于 ${linkrecord.date }</small>
						</blockquote>
					</c:forEach>
					<a href="linkman.action">←返回联系人列表</a>
				</div>
			</div>
		</div>
	</div>

</body>
</html>
